
package com.eyedog.video.videolist;

import com.eyedog.video.entity.AdvVideoEntity;
import com.eyedog.video.http.ICallback;

import java.util.List;

public class constract {

    public interface IModel {
        void loadVideoList(int page, int categoryId, ICallback<List<AdvVideoEntity>> resp);

        void loadVideoList(int page, String keywords, ICallback<List<AdvVideoEntity>> resp);

        void loadRecommendVideoList(int page, ICallback<List<AdvVideoEntity>> resp);

        void loadNewestVideoList(int page, ICallback<List<AdvVideoEntity>> resp);
    }

    public interface IView {
        void showVideoList(List<AdvVideoEntity> videoEntities);
    }

    public interface IPresenter {
        void showVideoList(int pageId, int categoryId);

        void showVideoList(int pageId, String keyWords);

        void showRecommendVideoList(int pageId);

        void showNewestVideoList(int pageId);
    }

    public interface IVideoListResp {
        void onLoadSuccess(List<AdvVideoEntity> videoEntities);
    }
}
